package cn.iune.erp.customer;


import java.sql.SQLException;
import java.util.List;

import com.alibaba.fastjson.JSONObject;

public interface ICustomerItemDao {
	
	public void insert(CustomerItem obj);
	
	public void delete(String fID);
	
	public CustomerItem update(CustomerItem obj);

	public List<CustomerItem> getAll();
	
	public CustomerItem getByID(String fID);

	JSONObject query(JSONObject data) throws SQLException;

	CustomerItem getByNo(String storageID, String itemID);

	List<CustomerItem> getByItemID(String itemID);

	List<CustomerItem> getByCustomerID(String storageID);

	List<CustomerItem> getList(String enterpriseNo);

	JSONObject querySimple(JSONObject data) throws SQLException;

	JSONObject create(JSONObject data);


}
